# -*- encoding: utf-8 -*-
from .. import public
from odoo import models, fields, api, _


class res_company(models.Model):
    _inherit = 'res.company'
    _description = u'公司信息'

    # product_supplierinfo_active_days = fields.Integer(u'价格表有效日期', default=7)
    # purchase_receive_over_control = fields.Boolean(u'采购收货需控制超收', default=False)
    # sale_delivery_over_control = fields.Boolean(u'销售出货需控制超出数量', default=False)
    cncw_credit_limit_control = fields.Boolean(u'销售信用额度控制', default=False)
    cncw_chart_template_id = fields.Many2one('cncw.chart.template', string='会计科目模板')